/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmPemeriksaanPelayanan.java
 *
 * Created on Jan 24, 2012, 3:57:00 PM
 */
package SIMRS.RawatInap.view;

import usu.widget.Form;

/**
 *
 * @author asus A42J-i3
 */
public class frmPemesananPelayanan extends Form {

    /** Creates new form frmPemeriksaanPelayanan */
    public frmPemesananPelayanan() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jFrame1 = new javax.swing.JFrame();
        pnlForm1 = new SIMRS.RawatInap.widget.PnlForm();
        btnSimpan = new SIMRS.RawatInap.widget.button2();
        btnBatal = new SIMRS.RawatInap.widget.button2();
        btnKeluar = new SIMRS.RawatInap.widget.button2();
        label13 = new SIMRS.RawatInap.widget.Label();
        jPanel1 = new javax.swing.JPanel();
        txtUmur = new SIMRS.RawatInap.widget.TextBox();
        label6 = new SIMRS.RawatInap.widget.Label();
        txtNoRegistrasi = new SIMRS.RawatInap.widget.TextBox();
        txtNoRM = new SIMRS.RawatInap.widget.TextBox();
        label7 = new SIMRS.RawatInap.widget.Label();
        label5 = new SIMRS.RawatInap.widget.Label();
        label8 = new SIMRS.RawatInap.widget.Label();
        txtNama = new SIMRS.RawatInap.widget.TextBox();
        jPanel2 = new javax.swing.JPanel();
        label3 = new SIMRS.RawatInap.widget.Label();
        cmbRuangTujuan = new javax.swing.JComboBox();
        label2 = new SIMRS.RawatInap.widget.Label();
        txtRuanganPelayanan = new SIMRS.RawatInap.widget.TextBox();
        label9 = new SIMRS.RawatInap.widget.Label();
        txtPemesanan = new SIMRS.RawatInap.widget.TextBox();
        jPanel3 = new javax.swing.JPanel();
        btnTambah = new SIMRS.RawatInap.widget.button2();
        jScrollPane1 = new javax.swing.JScrollPane();
        table1 = new SIMRS.RawatInap.widget.Table();
        btnHapus = new SIMRS.RawatInap.widget.button2();

        setUndecorated(true);
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        pnlForm1.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(112, 138, 31), 3, true));
        pnlForm1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        btnSimpan.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_simpan.png"))); // NOI18N
        btnSimpan.setText("Simpan");
        btnSimpan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSimpanActionPerformed(evt);
            }
        });
        pnlForm1.add(btnSimpan, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 430, -1, -1));

        btnBatal.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_batal.png"))); // NOI18N
        btnBatal.setText("Batal");
        pnlForm1.add(btnBatal, new org.netbeans.lib.awtextra.AbsoluteConstraints(230, 430, 107, 30));

        btnKeluar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_close.png"))); // NOI18N
        btnKeluar.setText("Keluar");
        btnKeluar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnKeluarActionPerformed(evt);
            }
        });
        pnlForm1.add(btnKeluar, new org.netbeans.lib.awtextra.AbsoluteConstraints(380, 430, -1, -1));

        label13.setForeground(new java.awt.Color(255, 255, 255));
        label13.setText("Form Pemesanan Pelayanan");
        label13.setFont(new java.awt.Font("Tahoma", 1, 24));
        pnlForm1.add(label13, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 30, -1, -1));

        jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jPanel1.setOpaque(false);
        jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        txtUmur.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtUmurActionPerformed(evt);
            }
        });
        jPanel1.add(txtUmur, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 40, 154, -1));

        label6.setText("Umur");
        jPanel1.add(label6, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 40, -1, 20));

        txtNoRegistrasi.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNoRegistrasiActionPerformed(evt);
            }
        });
        jPanel1.add(txtNoRegistrasi, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 10, 154, -1));

        txtNoRM.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNoRMActionPerformed(evt);
            }
        });
        jPanel1.add(txtNoRM, new org.netbeans.lib.awtextra.AbsoluteConstraints(120, 40, 154, -1));

        label7.setText("No. RM");
        jPanel1.add(label7, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 40, -1, 20));

        label5.setText("No Registrasi");
        jPanel1.add(label5, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 20, -1, -1));

        label8.setText("Nama");
        jPanel1.add(label8, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 10, -1, 30));

        txtNama.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtNamaActionPerformed(evt);
            }
        });
        jPanel1.add(txtNama, new org.netbeans.lib.awtextra.AbsoluteConstraints(340, 10, 154, -1));

        pnlForm1.add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 120, 510, 80));

        jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jPanel2.setOpaque(false);
        jPanel2.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        label3.setText("Ruang Tujuan");
        jPanel2.add(label3, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, -1, -1));

        cmbRuangTujuan.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
        jPanel2.add(cmbRuangTujuan, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 10, 140, -1));

        label2.setText("Ruangan Pelayanan");
        jPanel2.add(label2, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 50, -1, -1));

        txtRuanganPelayanan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtRuanganPelayananActionPerformed(evt);
            }
        });
        jPanel2.add(txtRuanganPelayanan, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 40, 140, -1));

        label9.setText("Pemesanan");
        jPanel2.add(label9, new org.netbeans.lib.awtextra.AbsoluteConstraints(290, 10, -1, -1));

        txtPemesanan.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtPemesananActionPerformed(evt);
            }
        });
        jPanel2.add(txtPemesanan, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 10, 140, -1));

        pnlForm1.add(jPanel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 210, 510, 80));

        jPanel3.setOpaque(false);
        jPanel3.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
        pnlForm1.add(jPanel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 340, 520, 90));

        btnTambah.setIcon(new javax.swing.ImageIcon(getClass().getResource("/SIMRS/RawatInap/gambar/bt_tambah.png"))); // NOI18N
        btnTambah.setText("Tambah");
        pnlForm1.add(btnTambah, new org.netbeans.lib.awtextra.AbsoluteConstraints(270, 300, -1, 30));

        table1.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(table1);

        pnlForm1.add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 340, 510, 80));

        btnHapus.setText("Hapus");
        pnlForm1.add(btnHapus, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 300, 80, 30));

        getContentPane().add(pnlForm1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 540, 500));

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-535)/2, (screenSize.height-489)/2, 535, 489);
    }// </editor-fold>//GEN-END:initComponents

private void txtNoRMActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNoRMActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNoRMActionPerformed

private void txtNamaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNamaActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNamaActionPerformed

private void txtUmurActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtUmurActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtUmurActionPerformed

private void txtNoRegistrasiActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtNoRegistrasiActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtNoRegistrasiActionPerformed

private void txtRuanganPelayananActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtRuanganPelayananActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtRuanganPelayananActionPerformed

private void txtPemesananActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtPemesananActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_txtPemesananActionPerformed

private void btnSimpanActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSimpanActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_btnSimpanActionPerformed

    private void btnKeluarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnKeluarActionPerformed
    dispose();
    }//GEN-LAST:event_btnKeluarActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private SIMRS.RawatInap.widget.button2 btnBatal;
    private SIMRS.RawatInap.widget.button2 btnHapus;
    private SIMRS.RawatInap.widget.button2 btnKeluar;
    private SIMRS.RawatInap.widget.button2 btnSimpan;
    private SIMRS.RawatInap.widget.button2 btnTambah;
    private javax.swing.JComboBox cmbRuangTujuan;
    private javax.swing.JFrame jFrame1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JScrollPane jScrollPane1;
    private SIMRS.RawatInap.widget.Label label13;
    private SIMRS.RawatInap.widget.Label label2;
    private SIMRS.RawatInap.widget.Label label3;
    private SIMRS.RawatInap.widget.Label label5;
    private SIMRS.RawatInap.widget.Label label6;
    private SIMRS.RawatInap.widget.Label label7;
    private SIMRS.RawatInap.widget.Label label8;
    private SIMRS.RawatInap.widget.Label label9;
    private SIMRS.RawatInap.widget.PnlForm pnlForm1;
    private SIMRS.RawatInap.widget.Table table1;
    private SIMRS.RawatInap.widget.TextBox txtNama;
    private SIMRS.RawatInap.widget.TextBox txtNoRM;
    private SIMRS.RawatInap.widget.TextBox txtNoRegistrasi;
    private SIMRS.RawatInap.widget.TextBox txtPemesanan;
    private SIMRS.RawatInap.widget.TextBox txtRuanganPelayanan;
    private SIMRS.RawatInap.widget.TextBox txtUmur;
    // End of variables declaration//GEN-END:variables
}
